package com.mercury.ec.module.air.dal.dataobject.demandorder;

import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import com.mercury.ec.framework.mybatis.core.dataobject.BaseDO;

/**
 * 机票需求订单方案价格 DO
 *
 * @author hesx
 */
@TableName("air_demand_price")
@KeySequence("air_demand_price_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AirDemandPriceDO extends BaseDO {

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 需求订单id
     */
    private Long demandId;
    /**
     * 方案id
     */
    private Long demandSchemeId;
    /**
     * 行程id
     */
    private Long demandRouteId;
    /**
     * 乘客类型 字典（system_passenger_type 1-成人/2-儿童/3-婴儿）
     *
     * 枚举 {@link TODO system_passenger_type 对应的类}
     */
    private Integer passengerType;
    /**
     * 采购附加费
     */
    private BigDecimal purchaseAdditionalFee;
    /**
     * 采购服务费
     */
    private BigDecimal purchaseServiceFee;
    /**
     * 采购票面价
     */
    private BigDecimal purchaseTicketPrice;
    /**
     * 采购价
     */
    private BigDecimal purchasePrice;
    /**
     * 采购机建税
     */
    private BigDecimal purchaseAirportTax;
    /**
     * 采购燃油税
     */
    private BigDecimal purchaseOilTax;
    /**
     * 采购税
     */
    private BigDecimal purchaseTax;
    /**
     * 采购代理费率
     */
    private BigDecimal purchaseAgencyFeeRate;
    /**
     * 采购代理费
     */
    private BigDecimal purchaseAgencyFee;
    /**
     * 采购后返费率
     */
    private BigDecimal purchaseBackRebateFeeRate;
    /**
     * 采购后返费
     */
    private BigDecimal purchaseBackRebateFee;
    /**
     * 采购记奖价
     */
    private BigDecimal purchasePrizePrice;
    /**
     * 采购记奖税
     */
    private BigDecimal purchasePrizeTax;
    /**
     * 采购金额
     */
    private BigDecimal purchaseAmount;
    /**
     * 采购应付
     */
    private BigDecimal purchasePayable;

}
